import Navgation from './Navgation'
import { PageHeader } from 'antd';

function Layout({ children,title,subTitle }) {
  return (
    <div>
      <Navgation />
      <PageHeader 
        title={title} 
        subTitle={subTitle}
        className="jumbotron"
      ></PageHeader>
      <div style={{width:'85%',margin:"0 auto"}}>
        {children}
      </div>
    </div>
  )
}

export default Layout